//
//  ViewController.swift
//  Intersection
//
//  Created by 好东家 on 2022/8/9.
//

import UIKit
import RxSwift

open class ViewController<Container: UIView>: UIViewController {
    
    public let bag = DisposeBag()
    
    public var contatiner: Container{ view as! Container }
    
    open override func loadView() {
        view = Container()
    }
    
    open override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view.
        
//        if view is Container {
//            return
//        }
//        view = Container()
    }


}

